import { createRouter, createWebHashHistory } from "vue-router"
import Home4 from '@/modules/module4/modules4-War/components/Home.vue'
import Historys from '@/modules/module4/modules4-War/components/Historys.vue'
import Important from '@/modules/module4/modules4-War/components/Important.vue'
import Battle from '@/modules/module4/modules4-War/components/Battle.vue'
import Persons from '@/modules/module4/modules4-War/components/Persons.vue'
import tab1 from '@/modules/module4/modules4-War/components/pages/Tab1.vue'
import tab2 from '@/modules/module4/modules4-War/components/pages/Tab2.vue'
import tab3 from '@/modules/module4/modules4-War/components/pages/tab3.vue'
import tab4 from '@/modules/module4/modules4-War/components/pages/Tab4.vue'

const routes4=[
  {
    path: "/home4",
    component: Home4,
  },
  {
    path: "/Historys",
    component: Historys,
  },
  {
    path: "/Battle",
    component: Battle,
  },
  {
    path: "/Important",
    component: Important,
  },
  {
    path: "/Persons",
    component: Persons,
    children: [
      {
        path: "tab1",
        component: tab1
      },
      {
        path: "tab2",
        component: tab2
      },
      {
        path: "tab3",
        component: tab3
      },
      {
        path: "tab4",
        component: tab4
      }
    ]
  },
  {
    path: '/modules4',
    component: () => import('@/modules/module4/modules4-War/App.vue')
  }
]
const router = createRouter({
  history: createWebHashHistory(),
  routes: routes4
})
export{routes4}
export default router